getprocaddress (kernel32)
Last changed: -78.86.32.130

.
Summary

C# Signature:

[DllImport("kernel32.dll")]
static extern UIntPtr GetProcAddress(IntPtr hModule, string lpProcName);

User-Defined Types:

None.

Notes:

There may be a bug here. The inimitable Raymond Chen says:

their GPA is wrong; they need to specify ansi charset here since the signature for GPA is

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/getprocaddress.asp

FARPROC GetProcAddress(

  HMODULE hModule,
  LPCSTR lpProcName

);

notice: lpcstr not lpctstr. therefore, forced ansi.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation